package com.rx.mylist.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.rx.core.anno.RxRelationField;
import com.rx.core.anno.RxRelationInfo;
import com.rx.core.data.RxData;
import com.rx.core.dbase.RxMarkDbMust;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@RxData
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class ListEssayInfo extends RxMarkDbMust {
    private static final long serialVersionUID = 1L;

    public static final String CREATE_NAME = "create_name";
    public static final String CREATE_BID = "create_bid";
    public static final String CHECK_NAME = "create_name";
    public static final String TITLE = "title";
    public static final String ASS_BID_ = "ass_bid";
    public static final String TYPE = "type";
    public static final String ESSAY = "essay";
    public static final String READ_RIGHT = "read_right";
    public static final String FILE_FLG = "fileFlg";

    public static final String ASS_BID="1";

    @TableField("STATUS")
    private String status;
    @TableField("TYPE")
    private String type;
    @TableField("FILE_FLG")
    private String fileFlg;
    @TableField("READ_RIGHT")
    private String readRight;
    @TableField("CREATE_NAME")
    private String createName;
    @TableField("CREATE_BID")
    private String createBid;
    @TableField("CHECK_NAME")
    private String checkName;
    @TableField("CHECK_BID")
    private String checkBid;
    @TableField("TITLE")
    private String title;
    @RxRelationField(value = {
        @RxRelationInfo(tableName = "list_owner_info",fieldName = "bid",JudgeAppend="returnType=1"),
    })
    @TableField("ASS_BID")
    private String assBid;

    @TableField("ESSAY")
    private String essay;

    @TableField("REMARK")
    private String remark;

}
